#include "College.h"

College::College() {
}

College::~College() {
    for (int i = 0; i < (int)courses.size(); i++) {
        delete courses[i];
    }
    courses.clear();
}

void College::addBuilding(Building* p_Building) {
    buildings.push_back(p_Building);
}

void College::addCourse(Course* p_Course) {
    courses.push_back(p_Course);
}

std::vector<Building*> College::getBuildings() {
    return buildings;
}

std::vector<Course*> College::getCourses() {
    return courses;
}
